package com.lx.person.entity;

/**
 * @author 柳新宽
 * @create 2022-03-21  9:45
 * @describe
 */
public class Student extends Person{

    private String classes;

    @Override
    public void showMe() {
        System.out.println("这是一名学生,身份证号为："+getCardId()+";姓名为："+getName()+";性别为："+getGender()
                +";籍贯为："+getHomeTown()+";班级为："+getClasses());
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }
}